//
//  PlSUpdateInfo.h
//  PlugSuit
//
//  Created by ∞ on 20/12/07.
//  Copyright 2007 Emanuele Vulcano (infinite-labs.net). All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface PlSUpdateInfo : NSObject {
	NSString* newVersionString;
	double newVersion;
	NSDictionary* descriptions;
	
	NSURL* downloadURL, * moreInfoURL;
}

- (id) initWithContentsOfURL:(NSURL*) url;

@property(copy) NSString* newVersionString;
@property(retain) NSURL* downloadURL;
@property(retain) NSURL* moreInfoURL;

@property double newVersion;

@property(copy) NSDictionary* descriptions;
@property(readonly) NSString* preferredDescription;

- (NSString*) preferredDescriptionForLocale:(NSLocale*) l;

@end

